package com.sec.bnjey.activity;//sn을 입력하여 txt에 저장,비교하여 valid여부 판별

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.TextView;

import com.sec.bnjey.BaseActivity;
import com.sec.bnjey.R;

public class UserAgreementDetailActivity extends BaseActivity implements
		OnClickListener {

	public static final String KEY_AGREE = "key_agree";
	boolean check = true;
	boolean agree_check = false;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.useragreementdetailactivity);

		initialize();
	}

	private void initialize() {

		TextView tv = (TextView) findViewById(R.id.TV_TopMenu_Title);
		tv.setText("전문");
		Button b = (Button) findViewById(R.id.B_TopMenu_Left);
		b.setMinWidth(64);
		b.setBackgroundResource(R.drawable.top_home_selector);
		b.setOnClickListener(this);

	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {

		case R.id.B_TopMenu_Left:
			finish();
			break;

		}
	}

	@Override
	public void onBackPressed() {

		InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
		mgr.showSoftInput(this.getCurrentFocus(),
				InputMethodManager.SHOW_FORCED);
	}

}